package com.org.qrtrace.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author bonnie
 * @since 2023-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Phistory对象", description="")
public class Phistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "产品主键")
    private String puid;

    @ApiModelProperty(value = "检测")
    private String cuid;

    @ApiModelProperty(value = "上一个地址")
    private String lastSource;

    @ApiModelProperty(value = "下一个地址")
    private String nextSource;

    @ApiModelProperty(value = "是否到达 1：到达 0：未到达")
    private String arrived;

    @ApiModelProperty(value = "标注")
    private String mark;

    @ApiModelProperty(value = "产品类型")
    private String type;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
